export interface Author {
  loginname: string;
  avatar_url: string;
}
export interface Replies {
  id: string;
  author: Author;
  content: string;
  ups: Array<string>;
  create_at: string;
  repli_id: string | null;
  is_uped: boolean;
}

export interface Topic {
  author: Author;
  id: string;
  author_id: string;
  tab: string;
  content: string;
  title: string;
  last_reply_at: string;
  good: boolean;
  top: boolean;
  reply_count: number;
  visit_count: number;
  create_at: string;
  replies?: Array<Replies>;
}
